package model;


public class User implements Comparable<User>{
	private String username;
	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}
	/**
	 * @param username the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	private String password;
	
	
	public User(String uname,String pwd)
	{
		username=uname;
		password = pwd;
	}
	
	public User()
	{
	}
	public int compareTo(User o) {
		return this.username.compareTo(o.username);
	}
	public int hashCode()
	{
		return username.hashCode();
	}
}
